<template>
  <view>
    <!-- 百度地图容器 -->
    <!-- <uni-baidu-map :ak="yourBaiduMapApiKey" :longitude="116.404" :latitude="39.915" :markers="markers"></uni-baidu-map> -->
  </view>
</template>

<script>
export default {
  data() {
    return {
      yourBaiduMapApiKey: 'nsxDkkqKdAgojGbGc5X38u4ApSmzrfy3', // 你的百度地图API密钥
      markers: [
        {
          longitude: 116.404,
          latitude: 39.915,
          title: '标记点标题',
          iconPath: '/static/marker.png', // 标记点图标路径
          width: 30,
          height: 30,
        },
      ],
    };
  },
};
</script>
